<?php

class Core_Library_Exeptions {

    private $_configs = array();
    public static $_instance;

    public static function instance() {
        if (empty(self::$_instance))
            self::$_instance = new self();
        return self::$_instance;
    }
    public function __set($name, $value) {
        $this->_configs[$name] = $value;
    }

    public function __get($name) {
        return $this->_configs[$name];
    }
    public function mysql_db_exeption(){
        echo "Somthink wrong=)";
        exit();
    }

}
